/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itschapala.ds2.cafeteria.vista;

import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author Santiago
 */
@ManagedBean
@SessionScoped
public class GalleriaBean {

    /**
     * Creates a new instance of GalleriaBean
     */
    private List<String> images;

    public GalleriaBean() {
        images = new ArrayList<String>();
        for (int i = 1; i <= 13; i++) {
            images.add("cafeteria" + i + ".jpg");
        }
    }
    public List<String> getImages() {  
        return images;  
    }
}
